<!--#layout("common/page.html",{"jsBase":"/js/","title":status}){  -->
<!--#
    var redirect = redirect!'/';
-->
<div class="doc-container" id="doc-container">
    <div class="align-center">
        <div class="h1 margin-top-big">${errorMessage}</div>
        <div class="margin-top-big">可在cms项目中寻找${env("server.tpl")}文件夹中的error.html修改错误提示。</div>
        <div><a href="${ctxPath}/">返回项目首页</a><br /><a href="javascript:goback();">返回上一页</a></div>
        <script>
            function goback() {
                window.location.href = document.referrer;
            }
        </script>
        <!--# if (redirect != "") { -->
        <script>
            if (window != top) {
                top.location.href="${redirect}";
            } else {
                document.location.href="${redirect}";
            }
        </script>
        <!--# } -->
    </div>
</div>
<!--#}  -->